package controller;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.TreeSet;

import views.TablePanel;
import views.WerknemersInkijkenPanel;
import views.WerknemersWijzigenPanel;
import model.Afdeling;
import model.Werknemer;

public class WerknemerController implements ActionListener{

	SwitchPanel sp;
	TableListener table;

	public WerknemerController(SwitchPanel switchPanel){
		sp = switchPanel;	
	}
	
	
	@Override
	public void actionPerformed(ActionEvent e) {
		if(e.getActionCommand() == "toevoegen"){
			sp.switchpanelto("WerknemersToevoegen");
		}
		if(e.getSource() == "wijzigen"){
			
		}
		if(e.getActionCommand() == "verwijderen"){
			
		}
	}
}
